package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.salary.dto.CustomerDetailsAddDTO;

import java.util.List;


/**
 * @author Mr.Zheng
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "修改【子公司分管公司关系表】的参数")
@Data
public class HrCustomerDetailsAddDTO extends CustomerDetailsAddDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "用工单位信息")
    private List<CompanyInfo> companyInfoList;


    @Data
    public static class CompanyInfo {

        @ApiModelProperty(notes = "用工单位Id")
        private String companyId;

        @ApiModelProperty(notes = "用工单位名称")
        private String companyName;

    }
}